:root {
    --primary: #00BFA6;
    --secondary: #B0E0E6;
    --dark: #2C3E50;
    --light: #ECF0F1;
    --white: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    min-height: 100vh;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
}

.container {
    width: 100%;
    height: 100vh;
    display: grid;
    place-items: center;
    overflow-x: hidden;
    background: url('path/to/pattern.png');
    background-size: cover;
}

.register-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 500px;
    padding: 2rem;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.register-card:hover {
    transform: translateY(-5px);
}

.logo-container {
    text-align: center;
    margin-bottom: 1.5rem;
}

.logo {
    width: 150px;
    height: auto;
    animation: fadeIn 1s ease;
}

.title {
    text-align: center;
    color: var(--dark);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.input-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.input-group {
    position: relative;
    flex: 1;
}

.input-group input {
    width: 100%;
    padding: 1rem 3rem 1rem 1.5rem;
    border: none;
    border-radius: 10px;
    background: var(--white);
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(0, 191, 166, 0.2);
}

.input-group i {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    transition: all 0.3s ease;
}

.password-strength {
    height: 4px;
    background: #eee;
    margin-top: 5px;
    border-radius: 2px;
    overflow: hidden;
}

.strength-bar {
    height: 100%;
    width: 0;
    transition: width 0.3s ease;
}

.terms {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.terms input[type="checkbox"] {
    accent-color: var(--primary);
}

.register-btn {
    width: 100%;
    padding: 1rem;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.register-btn:hover {
    background: #00a090;
    transform: translateY(-2px);
}

.error {
    background: #ff4444;
    color: white;
    padding: 0.5rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    text-align: center;
    display: none;
}

.login-link {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--dark);
}

.login-link a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.login-link a:hover {
    color: #00a090;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
    .input-row {
        flex-direction: column;
        gap: 1rem;
    }

    .register-card {
        margin-top: 2rem;
        padding: 1.5rem;
    }

    .logo {
        width: 120px;
    }

    .input-group input {
        padding: 0.8rem 2.5rem 0.8rem 1rem;
        font-size: 0.9rem;
    }
}